Received: from onelist.com (pop.onelist.com [209.207.164.213])
by osf1.gmu.edu (8.8.8/8.8.8) with SMTP id AAA22986
for <mcox4@osf1.gmu.edu>; Mon, 16 Aug 1999 00:11:43 -0400 (EDT)
Received: (qmail 1560 invoked by alias); 16 Aug 1999 04:11:39 -0000
Received: (qmail 1545 invoked from network); 16 Aug 1999 04:11:38 -0000
Received: from unknown (HELO mago.agonet.it) (195.32.124.10) by pop.onelist.com with SMTP; 16 Aug 1999 04:11:38 -0000
Received: from agonet.it (ghizzo@fiore78.agonet.it [195.32.126.78]) by mago.agonet.it (8.8.5/8.8.5) with SMTP id GAA17978 for <amos-list@onelist.com>; Mon, 16 Aug 1999 06:11:27 +0200
On 12-Ago-99, Andrew Crowe wrote: [amos-list] Re: TCP commands.
> Ok, how are the TCP stuff comming? how are the TCP stuff comming?
>
> Have you worked out InetD, 'cos it seems you can't simply stick a port
> down, you have to do a loada other stuff in Services menu and IneD's menu
> and probably some more stuff as well...
>
> PPLLLEEEAAASSSEEE say there is an easier way, PPLLLEEEAAASSSEEE!
Yes... there is a easier way. You're considering the problem form the wrong point of view.
It seems that several peoples are interested in internet gaming, but the ideas are a bit confused ;)
Make your game acts like a server is not the best solution, mainly for one
reason:
If i want to play with you, i need to know if you are on-line and mainly
your IP address. HOW????? Maybe:
Using ICQ or IRC i can obtain your IP, but it's boring.... a solution is to
obtain a 24h on-line dedicated server wich share your IP address to all the
connected players ( ... like the ICQ servers does when you're connected ) but
not everyone is so lucky to own a server :)
The secret is to use the public available tecnologies... and in the above
case the solution is.... suspence....... IRC!
Several applications use the IRC method in order to solve problems like
this... you've not to consider IRC just like a users CHAT, but it's
dedicated for the applications too!!
There are several IRC servers around the world.. a good news since the
players can use a local connection. Now... how can i use IRC for the game?
Solution:
Your game will works as a small IRC client and not as server... you've to open a
connection with a IRC server, and create a dedicated Channel for your
game.. for example JBonds.
When the players join the channel, your program will be informed, and you (..
your program) are able to play (chat) with all the players or just some of them.
For the protocol to use, you can be inspired by the other internet protocols like HTTP,FTP,IRC an so on. Just use simple ASCII commands... for example if you want to move a player you can send a command (message) like this:
MOVE James,50,90
when the program receive the above msg it moves the player James to the map coordinates 50,90.
Using IRC you can send the message to all the players connected at the
JBonds channel, or just one of them so your're able to setup a complete
enviroment.
I've not tried your game, and so i don't know what it does exactly.. anyway
you've just to create a command for every possible action of your game...
like:
move,kill,fire,escape and so on...
and send them trough the IRC channel to the other players.